package com.example.lcqexcel.demo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.converters.string.StringImageConverter;
import lombok.Data;

import java.io.File;
import java.net.URL;
import java.util.List;

/**
 * @ClassName EasyExcelDemoData
 * @Description
 * @Author lichuanqi
 * @Date 2021/9/26 15:29
 * @Version 1.0
 **/
@Data
public class EasyExcelDemoData {
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("年龄")
    private Integer age;
    @ExcelProperty("地址")
    private String addr;
    @ExcelProperty(value = "网络图片")
    @ColumnWidth(50)
    private URL url;
    @ExcelProperty(value = "本地图片")
    private File file;
    @ExcelProperty("拦截器测试")
    private String interceptorTest;
}
